package org.jeecg.modules.lab.sample.handle.service;

import org.jeecg.modules.lab.sample.entity.LabSampleHandleList;
import org.jeecg.modules.lab.sample.entity.LabSampleHandle;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 样品处置表
 * @Author: jeecg-boot
 * @Date:   2023-08-09
 * @Version: V1.0
 */
public interface ILabSampleHandleService extends IService<LabSampleHandle> {

	/**
	 * 添加一对多
	 *
	 * @param labSampleHandle
	 * @param labSampleHandleListList
	 */
	public void saveMain(LabSampleHandle labSampleHandle,List<LabSampleHandleList> labSampleHandleListList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param labSampleHandle
	 * @param labSampleHandleListList
	 */
	public void updateMain(LabSampleHandle labSampleHandle,List<LabSampleHandleList> labSampleHandleListList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 提交或撤销样品处置
	 *
	 * @param id
	 * @param auditMark
	 */
	public void submitOrCancelHandle(String id, String auditMark);
}
